<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>demom</title>
	<script src="jquery-3.4.1.min.js"></script>
<style type="text/css">

	#div1{
		width: 198px;height: 100px;
		background: red;
	}

	#div2{
		width: 200px;height: 200px;
		border: 3px solid blue;
	}
	





</style>
</head>
<body>
	
	<button>删除节点</button>
	<div id="div1"></div>
	<div id="div2"></div>



<script type="text/javascript">
	
	$(function(){
		$("button").click(function(){
			$("#div1").remove()
			
		})
	})


</script>


</body>
</html>